﻿namespace DelegateApp
{
    internal class Program
    {
        static void Main(string[] args)
        {
            var processor = new PhotoProcessor();
            var filters = new PhotoFilters();
            PhotoProcessor.PhotoFilterHandler filterHandler = filters.ApplyBrightness;
            filterHandler += filters.ApplyContrast;
            filterHandler += filters.ApplyResize;

            filterHandler += RemoveRedEyeFilter;
            processor.Processor("photo.jpg", filterHandler);


            Console.ReadKey();

        }

        static void RemoveRedEyeFilter(Photo photo)
        {
            Console.WriteLine("apply removeRedEye");
        }
        static void RemoveRedEyeFilte2r(Photo photo)
        {
            Console.WriteLine("apply removeRedEye");
        }
        static void RemoveRedEyeFilter3(Photo photo)
        {
            Console.WriteLine("apply removeRedEye");
        }
        static void RemoveRedEyeFilter4(Photo photo)
        {
            Console.WriteLine("apply removeRedEye");
        }
    }
}
